<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <link rel="Stylesheet" href="css/style1.css" type="text/css">
    <title>注册</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  <%
  
   %>
  <body bgcolor="#f8f8f8">
  <div class="content center">
    <div class="form-box" style="margin:10px auto;background-color:#fff">
        <div style="width: 280px;margin: 60px auto;position: relative">
     <form method="post" action="result.jsp">
       <input  type="text" name="username" placeholder="用户名" autocomplete="off" autofocus="autofocus" required="required">
        <input  type="password" name="password" placeholder="密码" required="required">
      <input type="password" name="password1" placeholder="确认密码" required="required">
      <input  type="text" name="recordinfo" placeholder="找回密码的关键词" required="required">
       <input  type="text" name="studentname" placeholder="学校名称" required="required">
     <input  type="text" name="department" placeholder="系别" required="required">
       <input  type="text" name="profession" placeholder="专业方向" required="required">
    <input  type="text" name="dormname" placeholder="宿舍" required="required">
    <label for="sex">性别:</label>
       男<input  type="radio" value="men"name="sex" checked>
       女<input  type="radio" value="women" name="sex"> 
 <button type="submit">注册</button>
                <div style="position: absolute;top: -45px;left: 0" class="error text-center">
                    <?= $err_message ?>
                </div> 
     </form>
       </div>
    </div>
      <div style="margin-top:40px;"> <%@include file="footer.jsp" %></div>
</div>
  </body>
</html>
